projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ebed3
)
clipboard-client.c: Include necessary headers for Windows
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Mon, 3 May 2021 08:33:14 +0000
(16:33 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Tue, 4 May 2021 04:12:50 +0000
(12:12 +0800)
We need to include io.h and process.h for close() and exit(), as unistd.h may
not be universally available.
testsuite/gdk/clipboard-client.c
patch
|
blob
|
history
diff --git
a/testsuite/gdk/clipboard-client.c
b/testsuite/gdk/clipboard-client.c
index d9f8ff2f9d2b08e7d55122de5f31b5c54304d919..b27da9220502d50e9e0947bac27739ee867df5ac 100644
(file)
--- a/
testsuite/gdk/clipboard-client.c
+++ b/
testsuite/gdk/clipboard-client.c
@@
-4,6
+4,10
@@
#include "wayland/gdkwayland.h"
#endif
+#ifdef G_OS_WIN32
+#include <io.h>
+#include <process.h>
+#endif
G_GNUC_NORETURN static void
got_string_cb (GObject *source,